[Samba] Samba PDC Win2000
I found out, that the reason Win2000 clients could not connect to Samba, was because Win2000 uses an unknown uid to log the machine on the samba domain. Which uid do Win2000 use? Right now, I have set Restrict Anonymous = False to permit Win2000 clients to connect. Previously I have used some scripts to add network drives etc. in netlogon. Win2000 do not seem to call these scripts. Any good ideas, how to solve this easily? Right now I'm using logon script = %g.bat. This enables me to use different scripts for different users based on their primary group. Regards Jacob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win2000 client and Samba 2.2 PDC?
I have set up a Samba as PDC and everything working flawless except for Win2000 clients. WinNT workstations and servers join the domain without problems. Win98 clients log on without problems. Win2000 clients can join the domain. BUT When Win2000 restart and I try to log on, I get a message, something like this (translated from my own language): The Primary Domain Controller is missing or the password is incorrect The Win2000 client and the User has been added to both /etc/passwd and smbpasswd. What is wrong? Regards Jacob Sönnichsen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Vedr.: Re: [Samba] Win2000 client and Samba 2.2 PDC?
The 2K machine account is created automaticly, when joining the domain from Win2000. The problem has something to do with Win2000 not seeing the Samba Server as PDC, or not reaching the PDC at all. I have set the Win2000 client to use netbios compability. Regards Jacob Tiago Cruz [EMAIL PROTECTED]Til:[EMAIL PROTECTED] ol.com.brcc: [EMAIL PROTECTED] Vedr.: Re: [Samba] Win2000 client and Samba 2.2 PDC? 13-03-03 15:13 Hum... The 2K machines it has that to exist in the server: # useradd -d /dev/null -c MAQ_709 -m -s /bin/false MAQ_709$ # smbpassword -m -a MAQ_709 Maybe this can help you: http://www.linuxrapido.kit.net/dicas_samba.htm Regards Tiago Cruz Em Qui, 2003-03-13 às 10:41, [EMAIL PROTECTED] escreveu: I have set up a Samba as PDC and everything working flawless except for Win2000 clients. WinNT workstations and servers join the domain without problems. Win98 clients log on without problems. Win2000 clients can join the domain. BUT When Win2000 restart and I try to log on, I get a message, something like this (translated from my own language): The Primary Domain Controller is missing or the password is incorrect The Win2000 client and the User has been added to both /etc/passwd and smbpasswd. What is wrong? Regards Jacob Sönnichsen -- Tiago Cruz [EMAIL PROTECTED] Org. King de Contab. S/C Ltda -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Migration from WindowsNT to Samba
I have gone through all, that you suggest, already. My problem is when I copy the files, I want the ownership of the files preserved. When I copy the files, as it is now, the user copying the files are set as owner. This is not, what I want. I want the original owner to own the files after copying. And I'm not talking about files in personal shares, it is the public and group shares with several possible file owners. Jacob btw. Linux ownership is not that different from NT ownership - file and group permissions are [EMAIL PROTECTED] wrote: - I am about to migrate our corporate network from NT to Samba and Linux. But I have stumbled upon a problem : How do I transfer the files from NT to Samba and preserve the ownership? The users will be using the same usernames as before. Are there a script or program, that can transfer these rights? Or is it the hard way? 20Gb of data, nearly 10 files. - We are just finishing (or at lease so we think) at our company... We initially used ownership and groups to control access, totally changing what existed... However this wasn't a good enough answer for us and was actually more work. Then we had a brainstorm. Really simple one too... 1. Decide how ownership is desired. Linux ownership is different so there needs to be some decisions made. 2. Configure the new share on the Linux side with this ownership plan. 3. mount both Linux and NT shares for that particular users share or public/semi-private share. 4. copy the files. Using the creation mechanism in samba you'll get exactly what you setup. So the moral of this solution is don't copy first, setup the environment first. Once you do that than a script would be easy (gross generic overview): mount windows share mount linux share copy from windows to linux share -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Vedr.: Re: [Samba] Migration from WindowsNT to Samba
I was thinking of using rsync, since it has the ability of mapping the written user-name instead of using UID's. Anyone know how this work on WindowsNT? I've read, that CygWin hasn't the ACL's properly implemented yet? Does another cross-platform exist, that can map between the written usernames? Jacob ps. I've tried using scopy, but it fails : Acces denied. It probably is run as a null account - in log.smbd access is denied as user nobody pps. I've also tried using a backup program, but this result in an error in possix_acls.c : Unable to map SID XX - a lot of numbers Andrew Bartlett [EMAIL PROTECTED] Til:Michael Heironimus [EMAIL PROTECTED] Sendt af:cc: '[EMAIL PROTECTED]' [EMAIL PROTECTED] [EMAIL PROTECTED]Vedr.: Re: [Samba] Migration from WindowsNT to Samba .samba.org 07-03-03 12:04 On Fri, 2003-03-07 at 20:19, Michael Heironimus wrote: On Fri, Mar 07, 2003 at 09:47:35AM +0100, [EMAIL PROTECTED] wrote: My problem is when I copy the files, I want the ownership of the files preserved. When I copy the files, as it is now, the user copying the files are set as owner. This is not, what I want. I want the original owner to own the files after copying. And I'm not talking about files in personal shares, it is the public and group shares with several possible file owners. I think the standard answer to how do I keep ownerships/ACLs when copying files in NT is use scopy from the resource kit. scopy is a Windows NT command-line tool that works just like xcopy, but can retain ownerships and permissions. In Windows 2000 that functionality is available in the standard xcopy program, but I think there still isn't a way to do it from explorer. This has always been one of NT's significant flaws as a file server - you don't really have any more advanced tools for managing this kind of thing than you do on a single-user workstation. A few other tips: Make sure you log in to your samba server as root (it sounds completely natural if you have a unix background when you come from unix, but the windows admins don't quite expect it), have ACLs enabled in Samba and an ACLed filesystem installed. Make sure that you have cloned your NT server using tools like 'net rpc vampire' so that the SIDs match up. (you will also need to steal your current DCs domain SID too). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net (See attached file: signature.asc)-- 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] Migration from WindowsNT to Samba
Hi I am about to migrate our corporate network from NT to Samba and Linux. But I have stumbled upon a problem : How do I transfer the files from NT to Samba and preserve the ownership? The users will be using the same usernames as before. Are there a script or program, that can transfer these rights? Or is it the hard way? 20Gb of data, nearly 10 files. Regards Jacob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba