[Samba] samba PDC problems

___cliff rayman___ cliff at genwax.com
Thu Dec 12 02:39:00 GMT 2002


Bradley W. Langhorst wrote:

>On Wed, 2002-12-11 at 20:24, ___cliff rayman___ wrote:
>
>  
>
>>if i use the workgroup setting of GENWAX.TEST, then i can browse
>>the server, read and write files, and it seems to be working
>>fine.  if i try to change to a domain setting of GENWAX.TEST, then
>>it fails with the DNS and SRV record message same as above but
>>with GENWAX.TEST in place of mydomain.
>>    
>>
>you can't have the workgroup and the domain with the same name...
>  
>
ok - but samba is setup as a primary domain controller.
there are NO other servers on the network, so there is
not a workgroup and a domain.  i assume that all windows
95/98/me and XP home clients are going to see the domain as
a workgroup, and that XP Pro/NT clients will see it as a
domain and logon accordingly.  this is a test server. only
it, and two pc's are currently hooked to the network for
testing purposes.  one pc has XP home, and calls GENWAX.TEST
a workgroup, and the other has XP pro.  when i tell it to
connect to the GENWAX.TEST workgroup, it works fine, when
i tell it to connect as a domain, it fails with the DNS/SRV
message.

here is a relative snipped from my smb.conf file:

---- snip ----
[global]

# samba build string
#       ./configure --prefix=/usr/local/samba_2.2.7  --mandir=/usr/local/man --with-smbmount --with-pam --with-pam_smbpass --with-ssl --with-libsmbclient && make


# server name and group stuff
	workgroup = genwax.test
	netbios name = filesnew
	server string = files server TESTING ONLY
	interfaces = 10.222.222.0/24 127.0.0.1/32
	bind interfaces only = yes

# passwords and domain logions
	encrypt passwords = yes
	unix password sync = true
	pam password change = true
	passwd chat = *password* %n\n*passwd* %n\n*successful*
	domain logons = yes
	domain master = yes
	logon drive = Z:
	logon home = \\%L\%u	
        logon path = \\%L\profile\%u
	logon script=logon.bat
	os level = 99
	preferred master = yes
	security = user 
	path = /home/%s/samba

# logging directives
	log file = /usr/local/samba/var/logs/%m	
	log level = 3

# file and directory masks
	create mask = 0660
	directory mask = 0770

#restrictions
	dont descend = /proc,/dev,/etc
	hosts allow = 10.222.222. 127.0
	hide unreadable = yes
	max smbd processes = 100
	min print space = 10000
	# do not allow files with CLSID extensions to be open
	veto files = /*.{*}/


# case sensitivity stuff
	mangle case = no
	case sensitive = no
	default case = lower
	preserve case = yes
	short preserve case = yes
---- snip ----

here is a snip from the relevant named file on the same server:
---- snip ----
venus           IN      A       10.222.222.2
mars            IN      A       10.222.222.3
filesnew        IN      A       10.222.222.3
hpvec1          IN      A       10.222.222.167
hpvec2          IN      A       10.222.222.168
---- snip ----

hpvec1 and hpvec2 are XP home and XP pro clients respectively
venus is not running samba currently

any help would be appreciated.

-- 
___cliff rayman___cliff at genwax.com___http://www.genwax.com/






More information about the samba mailing list