[Samba] Users SID problem

shacky shacky83 at gmail.com
Tue May 6 22:21:18 GMT 2008


2008/5/6 Linux Addict <linuxaddict7 at gmail.com>:
> Its okay not to have domain's SID. This is not the reason you are not
>  able to login.

Oh, ok, thank you!

>  What is the output of

>  1.wbinfo -t
server-x:~# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_CANT_ACCESS_DOMAIN_INFO (0xc00000da)
Could not check secret

>  2.wbinfo -g
server-x:~# wbinfo -g
Error looking up domain groups

>  3.testparm
server-x:~# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[homedir]"
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[amministrazione]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Unknown parameter encountered: "force directory mask"
Ignoring unknown parameter "force directory mask"
Processing section "[data]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Processing section "[commerciale]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Unknown parameter encountered: "force directory mask"
Ignoring unknown parameter "force directory mask"
Processing section "[rassegna]"
Unknown parameter encountered: "force create mask"
Ignoring unknown parameter "force create mask"
Unknown parameter encountered: "force directory mask"
Ignoring unknown parameter "force directory mask"
Processing section "[admin]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

>  4.net ads info
server-x:~# net ads info
Didn't find the ldap server!

This is the [global] section of my /etc/samba/smb.conf:

[global]
	netbios name = server-x
	workgroup = EG
	server string = Server Samba %v
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        domain master = yes
        security = user
        domain logons = yes
        hosts allow = 127.0.0.1 192.168.33.0/255.255.255.0 192.168.0.
192.168.3. 192.168.4. 192.168.6.
	interfaces = eth0 lo
	bind interfaces only = yes
	encrypt passwords = yes
	username map = /etc/samba/smbusers
	map to guest = Bad User
	add machine script = /usr/local/sbin/smb-aggiungimacchina.sh %u
	os level = 99
	preferred master = yes
	local master = yes
	wins support = yes
	domain logons = yes
	logon script = %U.bat
	log file = /var/log/samba/%m.log
	log level = 3
	syslog = 0
	max log size = 10000
	logon drive =
	logon home =
	logon path =

Thank you very much for your help!
Bye.


More information about the samba mailing list