Re: [Samba] PDC + LDAP + W2K-SP4 Domain logon

2003-08-25 Thread samseaver
This may be a long shot, but does your work environment use a WINS server?

I found out recently that mine does, and by changing WINS support = yes
to WINS server = 'ip address', i got the domain thing to work. I kept
getting the same error you did.

Cheers
S

On Mon, 25 Aug 2003 15:09:05 +0200 [EMAIL PROTECTED] wrote:

> Dear all,
> 
> 
> ___Setup: 
> - several wINDOWS 2000 workstations on SP4 (reg-patches applied, they 
> worked on 2.x-stable)
> - Samba PDC (CVS 3.0.0rc2) (machine accounts added aswell as users in 
> unix & samba)
> - OpenLDAP (2.1.12) <-- (Not really relevant since I tried without ldap 
> too, so no info about that from this point)
> - Linux  2.4.19 #1 Fri Jun 13 15:22:09 UTC 2003 i686 unknown 
> (debian)
> 
> (- also tried Samba PDC (2.x.stable))
> _
> 
> ___My Problem:
> Since attempting to upgrade to Samba 3.0 clients are unable to logon to 
> my samba-domain.
> __
> 
> 
> ___Scenario:
> at server side(linux samba PDC):
> 
> - 'testparm' command succeeds.
> - Samba PDC started with all systems up and running (smbd/nmbd/winbindd)
> - Tests through 'net join' command succeeds.
> - Test through 'smbclient -L ' succeeds aswell.
> *- Test through 'smbclient -L ' FAILS!  
> Result:
> 
> Sharename  Type  Comment
> -    ---
> E$ Disk  Default share
> IPC$   IPC   Remote IPC
> ADMIN$ Disk  Remote Admin
> C$ Disk  Default share
>   session request to  failed (Called name not present)
>   session request to *SMBSERVER failed (Called name not present)
>   NetBIOS over TCP disabled -- no workgroup available
> 
>   *quite strange error since it returns the shares?!
> 
> ---> going on anyway --->
> 
> at client side(w2k):
> 
> - login on client with local administrator-account.
> - browsing network IFS results in seeing only 
>   the windows-2000 machines in the network and NOT the samba PDC.
> - if I attempt to connect to '\\' I do get a request 
>   for my login and password. Login works and I can browse shares.
> - I use 'net use * /d /yes' to be able to join the domain with a 
> clean-sheet.
> - if I attempt to join the domain IFS I get the following error:
> 
>   The following error ocurred validating the name "IFS".
>   This condition may be caused by a DNS lookup problem. 
>   For information about troubleshooting common DNS lookup problems,
>   please see the following Microsoft web site:
>   http://go.microsoft.com/fwlink/?LinkId=5171
>   
>   The specified domain either does not exist or could not be 
> contacted.
>   [ OK ]
> 
>   went to the link and followed instruction in how far possible with 
> Samba 
>   and saw something about the _ldap._tcp.dc_msdcs record.
>   added that (_tcp._ldap.dc._msdcs.ifs. SRV 0 0 0 .) to my config, but 
> still no succes 
>   (thought that wouldn't do much anyway, since the link says it's only 
> to reduce unneccessary traffic). 
>   Samba show's _only changes in nmbd-logfile_:
> 
>   [2003/08/25 14:30:00, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet 
> 10.21.32.1: found.
>   [2003/08/25 14:30:00, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet 
> UNICAST_SUBNET: found.
>   [2003/08/25 14:30:00, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet 
> UNICAST_SUBNET: found.
>   [2003/08/25 14:30:05, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet 
> 10.21.32.1: found.
>   [2003/08/25 14:30:05, 4] 
> nmbd/nmbd_workgroupdb.c:dump_workgroups(284)
> dump_workgroups()
>  dump workgroup on subnet  10.21.32.1: netmask=  
> 255.255.255.0:
>   IFS(1) current master browser = 
>400c992b (Samba CVS 3.0.0rc2)
>   [2003/08/25 14:30:05, 4] 
> nmbd/nmbd_workgroupdb.c:dump_workgroups(284)
> dump_workgroups()
>  dump workgroup on subnet  UNICAST_SUBNET: netmask= 
> 10.21.32.1:
>   IFS(1) current master browser = UNKNOWN
>4009992b (Samba CVS 3.0.0rc2)
>   [2003/08/25 14:30:05, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet 
> UNICAST_SUBNET: found.
>   [2003/08/25 14:30:05, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet 
> UNICAST_SUBNET: found.
>   [2003/08/25 14:30:10, 4] 
> nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(156)
> find_workgroup_on_subnet: workgroup search for IFS on subnet

[Samba] Roaming Profiles and group profiles

2003-08-19 Thread samseaver
I have a lab of mixed NT/W2k/linux machines to maintain, ive recently
successfully set up a samba PDC with roaming profiles.

However I have two NT computers that will need to not only save data on
the samba file server, but share the same data.

I was wondering if there was a way of forcing either of these machines,
NO MATTER WHO LOGS IN, to ignore the users normal profile, and to open
the group profile and share, that both these machines should use.

Im thinking that this should be a batch file, the netlogon.bat, which
recognises the machine netbios name, disconnects the normal user's share
and profile, and loads the group share and profile...??

any suggestions?
thanks
Sam


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] joining a samba pdc domain

2003-08-14 Thread samseaver
The thing is nothing comes up in my logs at all, 
im posting my smb.conf below.

Ive added and deleted and added again my machine and user accounts, when
joining a domain from a win2k box, I actually DO get through to the
domain, but it then turns away my root log-in (for first time)

my smbpasswd file is in the right place and looked up ok!

[global]
;basic server settings
workgroup = radhakrishnan
netbios name = monster
server string = Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

;PDC settings
os level = 64
local master = yes
domain master = yes 
preferred master = yes
domain logons = yes

;security and logging settings
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 129.105.38.33 129.105.38.9 129.105.11.202 

;user profiles and home directory
; next line is 9x/ME specific
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
;netlogon
logon script = netlogon.bat

#shares===

[homes]
comment = Home Directories
browseable = no
writeable = yes

[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700

[netlogon]
comment = Network Logon Service
path = /home/netlogon
read only = yes
browseable = no

-- Forwarded message --
From: Howard Miller <[EMAIL PROTECTED]>
Date: Wed, 6 Aug 2003 15:15:18 +0100
Subject: Re: [Samba] joining a samba pdc domain

Sorry... forget that bit about 2nd point - I can't count!

Also, have you found and checked the logs yet? Does anything get written to 
the log when this fails? It usualy does.

H.

On Wednesday 06 Aug 2003 3:10 pm, Howard Miller wrote:
> Errmmm
>
> http://samba.mirror.ac.uk/samba/docs/man/Samba-HOWTO-Collection.html#AEN140
>2
>
> second point maybe.
>
>
> H.
>
> On Wednesday 06 Aug 2003 3:07 pm, you wrote:
> > On Wed, 6 Aug 2003 09:42:05 +0100 Howard Miller wrote:
> > > What exactly do you mean by "it then fails", what exactly happens. Just
> > > a thought - have you tried rebooting the machine and logging in as the
> > > local
> > > administrator before you try joining the domain.
> >
> > yes
> >
> > >It won't work if
> > > there are
> > > shares open.
> >
> > no share open
> >
> > what i mean is that after sending the root name and password, i get an
> > error message saying the windows was unable to contact or join the
> > domain.  I think it is basically telling me that it can't authenticate my
> > root password, but i have added root to my smbpasswd several times!
> >
> > > H.
> > >
> > > On Tuesday 05 Aug 2003 8:53 pm, [EMAIL PROTECTED] wrote:
> > > > dear all,
> > > >
> > > > i will outline the problem im having before posting my smb.conf, just
> > > > in case someone knows what to trouble-check.
> > > >
> > > > i have a samba PDC set-up, no firewalls, the windows machine WILL
> > > > mount the shares fine, but it wont join the domain.
> > > >
> > > > I mean that I have entered the machine name as a trust account into
> > > > both passwd and smbpasswd, and when I join the domain in win2k, it
> > > > actually asks me for my username and password, and i enter my root
> > > > name and password.
> > > >
> > > > however, it then fails.  I cant figure it out, everything else works,
> > > > except the final authentication to allow my win2k machine join the
> > > > samba domain.
> > > >
> > > > 1) what ./configure options MUST be set?
> > > > 2) what's the minimum global configuration?
> > > > 3) what's the minimal win2k settting (i disabled WINS and set-up the
> > > > LMHOSTS file to have one line, which is the samba server)
> > > >
> > > > thanks
> > > > Sam Seaver
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] joining a samba pdc domain

2003-08-07 Thread samseaver
dear all,

i will outline the problem im having before posting my smb.conf, just in
case someone knows what to trouble-check.

i have a samba PDC set-up, no firewalls, the windows machine WILL mount
the shares fine, but it wont join the domain.

I mean that I have entered the machine name as a trust account into both
passwd and smbpasswd, and when I join the domain in win2k, it actually
asks me for my username and password, and i enter my root name and password.

however, it then fails.  I cant figure it out, everything else works,
except the final authentication to allow my win2k machine join the samba
domain.

1) what ./configure options MUST be set?
2) what's the minimum global configuration?
3) what's the minimal win2k settting (i disabled WINS and set-up the
LMHOSTS file to have one line, which is the samba server)

thanks
Sam Seaver


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba