[Samba] Some errors importing accounts from NT4 PDC with net vampire
Hi I have folowed this guide http://www.enterprisenetworkingplanet.com/netos/article.php/3457461 to import users from my NT4 domain to a debian sarge with samba 3.0.14a Everything runs fine till the net rpc vampire command, some users give an error others are imported fine. I don't see any problem on this users configuration in the NT4 server, here is part of the output: thanks. fb_nt2:/etc/samba# net rpc vampire -S fb_nt -W FFTBL -UFilipe%* Fetching DOMAIN database Creating account: Administrator Creating account: Guest [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_guest) Creating account: FB_NT$ [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_fb_nt$) Creating account: Augusto [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_augusto) Creating account: Miit [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_miit) Creating account: Natalia [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_natalia) Creating account: Publico Creating account: Mariana Creating account: Jaime [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_jaime) Creating account: Filomena [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_filomena) Creating account: Mendes [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_mendes) Creating account: Maria do Ceu [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_maria do ceu) Creating account: M1 Creating account: isabel Creating account: Luis Creating account: Carla Creating account: M2 Creating account: Manuela Creating account: Jose Alberto Creating account: Labqui Creating account: Faria -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] net rpc vampire umlauts (äöü ß) problem
Stefan Drees wrote: Hi, im using net rpc vampire to migrate users/ groups from nt4 to samba3 with ldap backend. But the umlauts (äöüß) in the displayname are malformend. Unix charset in smb.conf is set to ISO8859-1. Any hint how to correct this? Regards S.Drees hi. in my debian sarge I followed this tutorial for portuguese... http://www.vivaolinux.com.br/dicas/verDica.php?codigo=4548 He says to put locales in iso8859-1 then to compile the kernel with some options for that, but I have not did that and it worked by adding this to smb.conf: dos charset = cp850 unix charset = iso8859-1 display charset = LOCALE now you should change for your locale I don't know if it is the same in german.. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Importing accounts from NT4 domain with Vampire
Hi I have folowed this guide http://www.enterprisenetworkingplanet.com/netos/article.php/3457461 to import users from my NT4 domain to a debian sarge with samba 3.0.14a Everything runs fine till the net rpc vampire command, some users give an error others are imported fine. I don't see any problem on this users configuration in the NT4 server, here is part of the output: thanks. fb_nt2:/etc/samba# net rpc vampire -S fb_nt -W FFTBL -UFilipe%* Fetching DOMAIN database Creating account: Administrator Creating account: Guest [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_guest) Creating account: FB_NT$ [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_fb_nt$) Creating account: Augusto [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_augusto) Creating account: Miit [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_miit) Creating account: Natalia [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_natalia) Creating account: Publico Creating account: Mariana Creating account: Jaime [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_jaime) Creating account: Filomena [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_filomena) Creating account: Mendes [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_mendes) Creating account: Maria do Ceu [2007/03/19 11:19:24, 0] passdb/pdb_tdb.c:tdb_update_sam(641) Unable to modify passwd TDB! Error: Record does not exist occured while storing the main record (USER_maria do ceu) Creating account: M1 Creating account: isabel Creating account: Luis Creating account: Carla Creating account: M2 Creating account: Manuela Creating account: Jose Alberto Creating account: Labqui Creating account: Faria -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba+LDAP wrong domain name
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi! I am using samba 3.0.24 with backend ldapsam. When i restart samba it tries to create the sambaDomainName entry in ldap with the domain name, the problem is, it does not create the entry with the name specified in workgroup attribute (in smb.conf) it creates one with the name of the machine. Am i doing something wrong ? Best regards, Luis Lobo Here is a snippet of my smb.conf: - -- [global] workgroup = ALUNOS server string = %h domain master = yes domain logons = yes preferred master = yes ... -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF8T0T74zKLATG/jMRAh5kAJ9S8retMnNNI40L1odEFAfHK4oJ/wCg5BW8 ozgQ/6oYXUltsvgDrBhIZqc= =pxgv -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] INTERNAL ERROR
I follow the instructions but results are not stable... Fisrt, when I run *nmblookup -B BIGSERVER __SAMBA__ this command return error after sometime it was ok. Smbclient with password always return the error session setup failed: Call returned zero bytes (EOF). It's really strange I have this config about a long time I don't think the proble could be from config. * Please read the Trouble-Shooting section of the Samba3-HOWTO Since this reference was on the line immediately following the INTERNAL ERROR, did you read it? Did you follow the instructions there? What were the results? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] INTERNAL ERROR
Please I need realy help. Nobody knows what is this problem? Suddenly, I start to have this problem with my samba and everything stop to work. I using samba 3.0.23d and kernel 2.6.16. Can someone help me??? [2007/01/03 12:20:25, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 10231 (3.0.23d) Please read the Trouble-Shooting section of the Samba3-HOWTO [2007/01/03 12:20:25, 0] lib/fault.c:fault_report(44) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2007/01/03 12:20:25, 0] lib/fault.c:fault_report(45) === [2007/01/03 12:20:25, 0] lib/util.c:smb_panic(1599) PANIC (pid 10231): internal error [2007/01/03 12:20:25, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 24 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822d683] #1 /usr/sbin/smbd(smb_panic+0x48) [0x822d508] #2 /usr/sbin/smbd [0x821b19c] #3 [0xe420] #4 /usr/sbin/smbd [0x81f4a3c] #5 /usr/sbin/smbd [0x81f710b] #6 /usr/sbin/smbd(pdb_getsampwnam+0x29) [0x81eb629] #7 /usr/sbin/smbd [0x8267371] #8 /usr/sbin/smbd [0x8267a21] #9 /usr/sbin/smbd [0x826570f] #10 /usr/sbin/smbd [0x826f570] #11 /usr/sbin/smbd [0x8123fc1] #12 /usr/sbin/smbd(ntlmssp_update+0x19b) [0x81234fb] #13 /usr/sbin/smbd(auth_ntlmssp_update+0x3d) [0x826f90d] #14 /usr/sbin/smbd [0x80bff50] #15 /usr/sbin/smbd [0x80c0441] #16 /usr/sbin/smbd(reply_sesssetup_and_X+0xfb7) [0x80c17b7] #17 /usr/sbin/smbd [0x80e9dcf] #18 /usr/sbin/smbd [0x80e9ff4] #19 /usr/sbin/smbd [0x80ea212] #20 /usr/sbin/smbd(smbd_process+0x155) [0x80eb0f5] #21 /usr/sbin/smbd(main+0x92e) [0x82c2f7e] #22 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb7d1e974] #23 /usr/sbin/smbd [0x8082ec1] [2007/01/03 12:20:25, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] NTERNAL ERROR
Suddenly, I start to have this problem with my samba and everything stop to work. I using samba 3.0.23d and kernel 2.6.16. Can someone help me??? [2007/01/03 12:20:25, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 10231 (3.0.23d) Please read the Trouble-Shooting section of the Samba3-HOWTO [2007/01/03 12:20:25, 0] lib/fault.c:fault_report(44) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2007/01/03 12:20:25, 0] lib/fault.c:fault_report(45) === [2007/01/03 12:20:25, 0] lib/util.c:smb_panic(1599) PANIC (pid 10231): internal error [2007/01/03 12:20:25, 0] lib/util.c:log_stack_trace(1706) BACKTRACE: 24 stack frames: #0 /usr/sbin/smbd(log_stack_trace+0x23) [0x822d683] #1 /usr/sbin/smbd(smb_panic+0x48) [0x822d508] #2 /usr/sbin/smbd [0x821b19c] #3 [0xe420] #4 /usr/sbin/smbd [0x81f4a3c] #5 /usr/sbin/smbd [0x81f710b] #6 /usr/sbin/smbd(pdb_getsampwnam+0x29) [0x81eb629] #7 /usr/sbin/smbd [0x8267371] #8 /usr/sbin/smbd [0x8267a21] #9 /usr/sbin/smbd [0x826570f] #10 /usr/sbin/smbd [0x826f570] #11 /usr/sbin/smbd [0x8123fc1] #12 /usr/sbin/smbd(ntlmssp_update+0x19b) [0x81234fb] #13 /usr/sbin/smbd(auth_ntlmssp_update+0x3d) [0x826f90d] #14 /usr/sbin/smbd [0x80bff50] #15 /usr/sbin/smbd [0x80c0441] #16 /usr/sbin/smbd(reply_sesssetup_and_X+0xfb7) [0x80c17b7] #17 /usr/sbin/smbd [0x80e9dcf] #18 /usr/sbin/smbd [0x80e9ff4] #19 /usr/sbin/smbd [0x80ea212] #20 /usr/sbin/smbd(smbd_process+0x155) [0x80eb0f5] #21 /usr/sbin/smbd(main+0x92e) [0x82c2f7e] #22 /lib/tls/libc.so.6(__libc_start_main+0xf4) [0xb7d1e974] #23 /usr/sbin/smbd [0x8082ec1] [2007/01/03 12:20:25, 0] lib/fault.c:dump_core(173) dumping core in /var/log/samba/cores/smbd -- Filipe Dias da Mota iPortalMais - Serviços de Internet e Redes, Lda. www.iportalmais.com TEL: +351 22 510 64 76 GSM: +351 93 449 12 42 FAX: +351 22 518 97 22 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] windows AD member
Gary Dale wrote: Filipe Mota wrote: Hello all, I have a big problem. I have samba 3.0.23c with ldap backend configured. On the network, I have windows 2000, windows XP and one windows 2003 as member of samba domain. Samba runs well until last weeks when users start problems conectivity with the domain. After some debug, I discover nmbd stop responding. When I run comand smbclient to samba server, I have the following respons: session setup failed: Call timed out: server did not respond after 2 milliseconds If I restart samba, this work again for some time. First, I think that was appening because I have AD as member of samba domain, so I put AD in a workgroup. During some days the scenario works but today the problem come back. What can I do to solve this? thanks, I think the basic idea is to recognize that computer software is written by humans and will contain errors. The source of the errors is not always obvious. Therefore system administrators live by the rule "if it ain't broke, don't fix it!" The question is, what features do you need in your set up? Normally, a Linux distribution ships with an integrated set of software that is believed to be stable and to work together. You will get bug fixes and security updates for that distribution. You install more recent versions of software at your peril. On a production server, you should only do this if you need a feature that is not working in the version shipped with your distribution (whether it is not there or simply not working properly). You have installed 3.0.23c, which is very recent. Nmbd is crashing probably because it doesn't work quite right with other software on your system. Unless you really need something that 3.0.23c provides, I would advise you to downgrade to the version that shipped with your distribution. If you do need to run 3.0.23c, or if that is the version that shipped with your distribution, try setting the log level to 10 in smb.conf and see what results you get. Also, check the other logs to see if there some evidence of a problem. I'm using debian distro as operating system. Before I start to have this problem, I haved samba 3.0.14 install from debian distro. Everything working for almost 1 year. But I needed to change hardware and I reinstalled my server with the same version. The problems start at this time. I tried a lot of things to solve this problems, the last one was upgrade samba. I tried to set log to level 10 and more but I can see any thing. The only conclusion of my debug is when some one try to access to AD server trhought samba, nmbd stop respond. But it don't stop at the first connect. It's ramdom!! Very strange. I'm not sure if problem is in samba server or in AD. I need to use AD server because I have some aplication who need to be install on windows. Could be a bug on samba, a virus, one of the aplication I use in AD? I don't know... Does some one have an idea or a scenario like this one? Thanks, -- Filipe Dias da Mota iPortalMais - Serviços de Internet e Redes, Lda. www.iportalmais.com TEL: +351 22 510 64 76 GSM: +351 93 449 12 42 FAX: +351 22 518 97 22 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] windows AD member
Hello all, I have a big problem. I have samba 3.0.23c with ldap backend configured. On the network, I have windows 2000, windows XP and one windows 2003 as member of samba domain. Samba runs well until last weeks when users start problems conectivity with the domain. After some debug, I discover nmbd stop responding. When I run comand smbclient to samba server, I have the following respons: session setup failed: Call timed out: server did not respond after 2 milliseconds If I restart samba, this work again for some time. First, I think that was appening because I have AD as member of samba domain, so I put AD in a workgroup. During some days the scenario works but today the problem come back. What can I do to solve this? thanks, -- Filipe Dias da Mota iPortalMais - Serviços de Internet e Redes, Lda. www.iportalmais.com TEL: +351 22 510 64 76 GSM: +351 93 449 12 42 FAX: +351 22 518 97 22 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] dfree command and quotas
Hi! I am trying to tune my samba server in what regards reporting the free space for each share. I use a filesystem with quotas, kernel 2.4.21 in a Debian linux box with samba 3.0.0beta1-2. I usually get the quota information through the command: # quota some_user Disk quotas for user some_user (uid userID): Filesystem blocks quota limit grace files quota limit grace /dev/hda2 30284108 3100 3100 61701 0 0 In my smb.conf i added the "dfree command = /home/samba/scripts/dfree.pl %U", so each time the free space information is requested from the smb clients the command is run. The dfree.pl is a perl script, wich consists of: /*begin of perl script */ #!/usr/bin/perl open(LOG,">>/tmp/df_usage.log"); # create a log file $com = "quota ".$ARGV[0]; open (PIPE, $com." |"); while () { # $_ = " /dev/hda2 30284108 3100 310061752 0 0" if (($device, $used, $quota, $limit, $quotaInodes, $limitIndodes) = m/[ ]+([a-z0-9\/]+)[ ]+([0-9]+)[ ]+([0-9]+)[ ]+([0-9]+)[ ]+([0-9]+)[ ]+([0-9]+)[ ]+([0-9]+)/) { print $used." ".($quota-$used)."\n"; } print LOG "I am " . $ENV{USER} . "\n" . $_; # write the real result of quota to the log file plus the USER env var } close(PIPE); close(LOG); /*end of perl script */ In the some_user case above the perl script when run from a common shell returns: # ./dfree.pl some_user 30284108 715892 Wich is the used space and the available space until quota is exceeded. Altough the dfree.pl script returns uota information for some_user in a common shell i get: /* begin /tmp/df_usage.log */ I am root Disk quotas for user some_user (uid ): none I am root Disk quotas for user some_user (uid ): none I am root Disk quotas for user some_user (uid ): none I am root Disk quotas for user some_user (uid ): none ... /* end /tmp/df_usage.log */ ... in the log file when the command is run by samba. Is there any issue regarding shell scripts executed from the "dfree command" ? Is there any other "less ridiculous" way of getting the wanted result ? Thanks in advance, Keep up the good work, LL -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Workstation domain membering
Hi! I have a samba 2.2.3a-12 on a Linux Debian box (lets call it pdcMachine) with a 2.4.16 kernel acting as a PDC of some domain (lets call it myDomain). I have a samba 2.999+3.0.alpha20-4 workstation (debian,kernel 2.4.19) (lets call it wstMachine) and i'm trying to join wstMachine to myDomain. I added: workgroup = myDomain password server = * security = domain encrypt passwords = true ... to my smb.conf, the I added wstMachine$ account in pdcMachine: adduser --disabled-password --disabled-login --force-badname --home /dev/null wstMachine$ smbpasswd -a -m wstMachine ... in order to add the wstMachine to the domain i did (in wstMachine): smbpasswd -j myDomain -r pdcMachine -U root # (root is a valid user in pdcMachine) ... the it told me to use "net rpc join". so i did: net rpc join -S pdcMachine after typing the asked password (pdcMachine smb root password ... i thought) it returned: "Joined domain myDomain." .. but when i try: smbclient //wstMachine/someshare -U validDomainAccount it tells me : Doing spnego session setup (blob length=58) session setup failed: NT_STATUS_NO_LOGON_SERVERS here is a dump of my wstMachine smb.conf: /* BEGIN OF smb.conf */ [global] workgroup = PROFS2 server string = %h server (Samba %v) ; load printers = yes ; printing = bsd ; printcap name = /etc/printcap ; printing = cups ; printcap name = cups ; guest account = nobody invalid users = root log file = /var/log/samba/log.%m max log size = 1000 ; syslog only = no syslog = 0 security = domain password server = * encrypt passwords = true passdb backend = tdbsam unixsam ; include = /home/samba/etc/smb.conf.%m socket options = TCP_NODELAY ; local master = yes ; os level = 20 ; domain master = auto ; preferred master = auto ; wins support = no ; wins server = w.x.y.z dns proxy = no ; name resolve order = lmhosts host wins bcast ; preserve case = yes ; short preserve case = yes ; unix password sync = false passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . ; pam password change = no ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & obey pam restrictions = yes ; winbind uid = 1-2 ; winbind gid = 1-2 ; template shell = /bin/bash panic action = /usr/share/samba/panic-action %d #=== Share Definitions === [homes] comment = Home Directories browseable = no writable = no create mask = 0700 directory mask = 0700 /* END OF smb.conf */ and here is my pdcMachine smb.conf: /* BEGIN OF smb.conf */ [global] ; Tunning by ellobo admin users = root security = user workgroup = PROFS2 server string = %h syslog only = no syslog = 0 encrypt passwords = true wins support = no allow trusted domains = yes os level = 30 domain master = yes local master = yes preferred master = yes name resolve order = host lmhosts wins bcast dns proxy = no preserve case = yes short preserve case = yes unix password sync = true passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & max log size = 1000 ;obey pam restrictions = yes [homes] comment = Home Directories browseable = no read only = no create mask = 0700 directory mask = 0700 /* END OF smb.conf */ Can you help ? Thanks in advance, LL -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SaMBa permissions problem
Hi, I’m having a slight problem with samba permissions. Here goes my scenario: Red Hat Linux 8.0 with samba I got a samba share “public” Users can access the share and write there what they need, but if a user creates a directory, other users can’t access it. How can I configure things so that everyone in the group accesses everything in the share? Filipe Joel de Almeida Network Consultant [EMAIL PROTECTED] Mobile: +351 967819600
RE: [Samba] Samba with a Win9x network and RoadRunner
I had that problem in the beginning too... I had to manually configure the default gateway and DNS servers so that they were exactly as if I had DHCP, and then it worked. Filipe Joel de Almeida Network Consultant [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of DJ Busch Sent: domingo, 29 de Setembro de 2002 14:43 To: Samba List Subject: RE: [Samba] Samba with a Win9x network and RoadRunner I've tried setting the IP on the Linux machine manually, but the result was ugly - I couldn't connect to any outside Internet services. If I don't let RR(my cable ISP)'s DHCP server set my IP, I can't access the Internet at all. > -Original Message- > From: Mogens Kjaer [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 1:32 AM > To: DJ Busch > Cc: [EMAIL PROTECTED] > Subject: Re: [Samba] Samba with a Win9x network and RoadRunner > > > DJ Busch wrote: > ... > > Now on to the problem: As most of you are already aware, RR > uses DHCP to > > assign IP addresses to client machines at boot time. This seems to be > > causing Samba to have problems resolving the machine names. > > I don't know what RoadRunner is, but at home we have an ADSL router > that acts as a DHCP server. But this doesn't prevent me from assigning > IP numbers within the server's IP interval. The DHCP server will > try and ping the IP number before giving it to a client. If the > number is already taken, a new one is assigned. > > Mogens > -- > Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry > Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark > Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 > Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk > > > -- 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
RE: [Samba] Samba authentication
Thanks Steve for your time. I'm trying to do everything by hand and without any GUI or wizards, so that I really learn how things work, so I'm having a little more work (specially because I just started using linux this week) but I think that with time it will be better this way. My idea for now is to have a Linux server integrated into a W2K domain, and providing that domain users with files. I have the users in the domain grouped in several groups. Isn't there any way that I, on the linux machine, "share" folders for a certain group and every user that is created in W2K and added to that group has access to that folder. My problem is that my first production deployment of samba is in a network of 100+ users with some rotativity (lots of users gone, and new come in). I really don't want to have to create each user twice. Can anyone tell me a way to implement this kind of slution? Filipe Joel de Almeida Network Consultant [EMAIL PROTECTED] -Original Message- From: Steve Thom [mailto:[EMAIL PROTECTED]] Sent: sábado, 28 de Setembro de 2002 17:59 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [Samba] Samba authentication Each user that needs to access the server will need to be a linux user as well, with unix permissions to access the directory in question. It is best to use "user" security instead of "domain" with password synchronization between samba and unix enabled. Any users created in unix will be added to samba. If this becomes an issue (too many users, two systems to maintain), you may want to consider mapping bad usernames to guest, setting the guest user up as a generic user in unix, then allowing guest access to the share. This pretty much opens the share up to everyone, something you may wisn to avoid. This is usually done when deploying Samba as a print server. It avoids administrative overhead. You can also use winbind to synchronize samba permissions with a NT domain. This is beyond me, someone else could step up to help you there. Another thing to consider - the samba user needs to have permissions to access the unix directory. Samba permissions and unix permissions are two distinct issues. You could share a directory in samba that nobody can read, let alone write to from Windows. The individual users need to have access, or better yet the group to which they belong. Conversely, if you map to guest, make certain the guest user has rights to the unix directory. You may want to download Webmin (www.webmin.com). It gives you a nice web-based interface to manage everything. Good luck, Steve - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 28, 2002 6:03 AM Subject: [Samba] Samba authentication Hi, I'm trying to set up samba for the first time. I can already ping the linux machine from a windows machine by its NetBIOS name. But when I try to do \\linux (thats the machine name) it asks me for username and password Here goes my smb.conf file: [global] workgroup = NS netbios name = Linux server string = Samba Server hosts allow = 192.168.69. 127. interfaces = 192.168.69.110/24 log file = /var/log/log.%m max log size = 50 security = domain password server = * encrypt passwords = yes socket options = TCP_NODELAY os level = 255 wins support = no dns support = no Do I have to create users locally, or say that specific users from the domain can access the server? I haven't created any share yet, might that be a problem too? Thanks in advance... Filipe Joel de ALmeida -- 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