You are not logged in.
Hello !
i install samba 4.1.3 on my computer,
i edit the /etc/samba/sm.conf and the output of the command testparm is
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[myshare]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
dos charset = cp936
unix charset = cp938
workgroup = MYGROUP
netbios name = NEO-ARCH
server string = Samba Server
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
load printers = No
printcap name = /etc/printcap
dns proxy = No
idmap config * : backend = tdb
hosts allow = 192.168.1.0/24, 127.0.0.0/8
[myshare]
comment = Mary's and Fred's stuff
path = /home/neo
read only = No
guest ok = Yes
however,after putting in
systemctl start smbd
systemctl start nmbd
systemctl status nmbd
we can see the nmbd service is active
but
systemctl statuse smbd output this
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; disabled)
Active: failed (Result: exit-code) since Mon 2014-01-13 22:43:34 CST; 17min ago
Process: 1709 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS)
Main PID: 1710 (code=exited, status=1/FAILURE)
Jan 13 22:43:34 arch smbd[1710]: convert_string_talloc: Conversion not supported.
Jan 13 22:43:34 arch smbd[1710]: [2014/01/13 22:43:34.377516, 0] ../source3/auth/auth_util.c:1...nfo)
Jan 13 22:43:34 arch smbd[1710]: copy_session_info(): ndr_pull_auth_session_info failed: Charac...rror
Jan 13 22:43:34 arch smbd[1710]: [2014/01/13 22:43:34.377605, 0] ../source3/rpc_server/rpc_nca...e_p)
Jan 13 22:43:34 arch smbd[1710]: open_rpc_pipe_p: copy_serverinfo failed
Jan 13 22:43:34 arch smbd[1710]: [2014/01/13 22:43:34.377682, 0] ../source3/rpc_client/cli_win...key)
Jan 13 22:43:34 arch smbd[1710]: dcerpc_winreg_int_openkey: Could not connect to winreg pipe: N...MORY
Jan 13 22:43:34 arch smbd[1710]: [2014/01/13 22:43:34.377754, 0] ../source3/rpc_server/svcctl/...reg)
Jan 13 22:43:34 arch systemd[1]: smbd.service: main process exited, code=exited, status=1/FAILURE
Jan 13 22:43:34 arch systemd[1]: Unit smbd.service entered failed state.
when i put in smbclient -L 127.0.0.1 ,i get the err"Error NT_STATUS_HOST_UNREACHABLE"
why is smbd failed?
Thanks for any advertise
Offline