> Hi there,
>
> This is my curent smb.conf I added the cahanges to
> passdb backend = /etc/samba/smbpasswd guest
>
> It stil can not find DOMAIN specified or it is telling me that User Name
> or password are incorrect.
>
> If chose to make machine accounts on the fly is, does samba then creates
> machines automaticly? Or what? I am realy new in Linux and Samba so if
> you see that I am doing something wrong pleas be specific when telling
> me what I do wrong?
>
> Tnx. In advace.
>
> Greatings,
>
> Admir
>
> -----Original Message-----
> From: robowarp@gmx.de [mailto:robowarp@gmx.de]
> Sent: dinsdag 24 juni 2003 14:18
> To: Admir
> Subject: Re: can not find domain name
>
> > Ok,
> >
> > Hier is my smb.conf :
> >
> > [global]
> > workgroup = KAKI
> > server string = Samba Server %v
> > interfaces = 192.168.0.3
> > client schannel = No
> > server schannel = No
> > allow trusted domains = No
> > min passwd length = 0
> > password server =
> > root directory = /home
> > unix password sync = Yes
> > log file = /var/log/samba/log.%m
> > max log size = 50
> > nt pipe support = No
> > nt status support = No
> > name resolve order = bcast lmhosts wins host
> > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> > add user script = /usr/sbin/useradd -m %u
> > delete user script = /usr/sbin/userdel -r %u
> > add group script = /usr/sbin/groupadd %g
> > delete group script = /usr/sbin/groupdel %g
> > add user to group script = /usr/sbin/usermod -G %g %u
> > add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s
> > /bin/false -M %u
> > logon script = logon.bat
> > logon drive = H:
> > logon home = \\rhmaster\%U
> > domain logons = Yes
> > os level = 64
> > lm announce = Yes
> > preferred master = Yes
> > dns proxy = No
> > wins support = Yes
> > ldap ssl = no
> > admin users = root
> > nt acl support = No
> > blocking locks = No
> > csc policy = disable
> >
> > [homes]
> > comment = Home Directories
> > read only = No
> >
> > [printers]
> > comment = All Printers
> > path = /var/spool/samba
> > printable = Yes
> > browseable = No
> >
> > [netlogon]
> > path = /home/logon
> > write list = admins
> >
> > [profiles]
> > path = /home/profiles
> > read only = No
> > create mask = 0600
> > directory mask = 0700
> >
> > <robowarp@gmx.de> wrote in message
> > news:<26457.1056445721@www62.gmx.net>...
> > > > Ok ppl.
> > > >
> > > > How do I solve this problem?
> > > >
> > > > I am trying to ad a win2000 pro machine to samba server
> 3.0.0.1beta
> > > > that is configured as an PDC.
> > > >
> > > > Now I go to my pc, network id. I fill in all the nesesery
data in
> > > > but I get msg. :
> > > >
> > > > "The Domain name "BLABLA" is either invalid
or does not exist."
> > > >
> > > > I am new new in linux but I realy don't think this is
samba
> > > > configuration problem. I simply overlooked something.
> > > >
> > > > Do you need to have a dns or something like that in order to
be
> able
> >
> > > > to use samba?
> > > >
> > > > Pls. Help?
> > > >
> > > >
> > > > Greetings,
> > > >
> > > > Admir
> > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe from this list go to the following URL and
read the
> > > > instructions: http://lists.samba.org/mailman/listinfo/samba
> > > >
> > > please post your smb.conf
> > >
> > > --
> > > +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> > > Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read
the
> > > instructions: http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> is see no passdb backend value
> must be something like
> passdb backend = /etc/samba/smbpasswd guest
> this server schannel = should be yes
> after all
> you need additional parameters to home, netlogon profiles,
> i cant get to my conf now, but i posted it yesterdy have a look
> check if you have valid computer account
> $testpc in /etc/passwd and /etc/samba/smbpasswd
> root must be also there for machine creation on the fly
> i had succes with samba 3 beta as pdc with roaming profiles, netlogon,
> home
> mapping and
> admin with usrmgr without the funktion of delete a user
> regards
>
> --
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
>
>
>
just to make clear
having unix account on the smb pdc is a must for every user you want to have
in samba
for linux side
there must be entry in /etc/passwd ( crypted /etc/shadow ,groups /etc/groups
)
normally this is created via useradd -m ( which means with home ) username
to set the password you type passwd username
then enter password twice
on suse etc this is done via yast admin tool, so you dont have to care
only check this via an editor like vi or pico etc.
the root account is in this bases as you give him a password at the setup of
the machine.
now every user which is in this passwd you can add
to your passdb backend ( i use a file call smbpasswd )
the program you need to create is called also smbpasswd
so for a user smbpasswd -a username
twice the password then it will have a entry in the file
/etc/samba/smbpasswd
if this path is correct at your install.
you have the choice for different pathes by setting entries in the smb.conf
make sure that they fit to exist files (check the logs)
root must have a valid entry in the passdb backend.
your right the script useradd does the job on the fly if your smb.conf and
the program paths are
right.
machine accounts on linux are nothing other as users without
homes and shell logins or passwords to mark this samba uses the $ as first
of the account name
so you have to have an entry in passwd like $testpc
and you can create this by command line with smbpasswd -a -m $testpc
i tested the samba3 beta an you need to have a logon share which some
special
features i will post my smb.conf later on the day so cyn compare but in
meantime this should take you further
regards
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!