Re: [Samba] Adding samba users via a script

2005-07-17 Thread Mi
The script works by reading the user's name, password and group from a text file, first generating Unix user accounts and then running: /usr/bin/smbpasswd -a -s $user $pwd > /dev/null to add the smb accounts. The -s switch should allow the Samba password to pulled from stdin instead of a pro

Re: [Samba] Laptop and local vs roaming profiles/users

2005-07-15 Thread Mi
If you're asking if there's any way that they can use the same profile space, no. And why would you want to? OK, so I would have to manually copy stuff from the local profile to the domain profile. That's not too bad. But... If you're going on the assumption that once you disconnect from

[Samba] Laptop and local vs roaming profiles/users

2005-07-15 Thread Mi
roaming, so the user can both use different computers in the domain with his roaming profile, and also use the laptop when not connected to the domain? Thanks, Mi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] unix charset = LOCALE

2005-07-13 Thread Mi
Do you get UTF8 displayed as plain 8 bit (every accented letter shown as 2 accented letters, the first one often being an uppercase accented "A")? From your screen capture, it looks like this is what you get. (which you could have seen, without sending a word document to hundreds or thousan

Re: [Samba] unix charset = LOCALE

2005-07-12 Thread Mi
juliano wrote: Andrew Bartlett said once that 'unix charset = LOCALE' means to force samba to read 'LANG=' from environment. echo $LANG en_US Well, en_US is not UTF8 When i restart smbd/nmbd all my files inside all shares change their names. In which application? On Windows clients? Ho

Re: [Samba] Mount logon Home dir on Linux (CTM)

2005-07-12 Thread Mi
So the question for this list would be: how can I query a Windows NT PDC (no ldap) about a user's home directory. That script may need to have an administrator password to be able to query the PDC. I found the answer to this one. It should be pretty easy with a few lines of Perl. Tthis is ho

Re: [Samba] Mount logon Home dir on Linux (CTM)

2005-07-12 Thread Mi
I suppose you will have to add some scripting to manage the Linux clients. A script could ask the NT PDC about the user's home, and then mount it directly through nfs. So the question for this list would be: how can I query a Windows NT PDC (no ldap) about a user's home directory. That script

Re: [Samba] charset issue

2005-07-11 Thread Mi
smb.conf unix charset = LOCALE Is that valid? Shouldn't it be "unix charset = UTF8" ? Does it actually work in Unix? Can you create and list filenames with UTF8 characters in the shell? I avoided the UTF8 nightmare because Latin1 (iso8859-1) covers all the languages I need and is more wi

[Samba] Primary Group SID / RID weirdness

2005-07-11 Thread Mi
27;m afraid there is something wrong with my setup, but don't understand it, and don't know what this might break. This is a version "3.0.14a-Debian" PDC, with "passdb backend = tdbsam, guest" Thank you for your help, Mi -- To unsubscribe from this list go

Re: [Samba] RE: 4GB limit on samba 3.0.4

2005-07-11 Thread Mi
Yesterday, i couldn't write a file larger than 4GB to a Samba 3.0.14a-Debian share, but that share is on a vfat partition. I believe my problem is due to the partition itself, but I'm not sure. Anyway, I used split in that single case to break up the file. -- To unsubscribe from this list go to

Re: [Samba] charset issue

2005-07-11 Thread Mi
When i restart smbd/nmbd, all the files inside all shares change their names. All the files are affected specially accent portuguese brazilian files. File names become a mess in whole samba server. You probably have a character set mis-match between Samba, Unix and/or the clients? I use i

Re: [Samba] Possible to hide [homes] ?

2005-07-11 Thread Mi
add parameter : available = no But then what's the point of defining the home shares at all? Isn't "available=no" an equivalent of commenting out a share section, presumably to re-activate it later without having to rewrite it? -- To unsubscribe from this list go to the following URL and

Re: [Samba] Possible to hide [homes] ?

2005-07-11 Thread Mi
[homes] comment = Home Directories browseable = no ... that doesn't work. For me, it hides all home directories except the current user's own. net view \\server shows global shares, and my own home directory mapped to H:\, but not the other users' homes. Is that not what you wa

Re: [Samba] Possible to hide [homes] ?

2005-07-11 Thread Mi
is there a way to hide the '[homes]' share? [homes] comment = Home Directories browseable = no ... -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] How to rename a user in Samba 3?

2005-07-10 Thread Mi
ant to rename a user? Thanks for any help, Mi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

[Samba] Demote old NT4 PDC to member of Samba domain?

2005-06-12 Thread Mi
have NEWDOMAIN with Samba PDC and all clients OLDDOMAIN with NT4 PDC alone, no client Can my NT4 PDC become a plain client in NEWDOMAIN? Thanks, Mi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba as PDC and BDC on the same network.

2005-03-07 Thread Mi
@echo off echo "Script de demarrage" net use T: \\PDC\temp /PERSISTENT:NO Then, if the PDC becomes down, this script wouldn't work and i must be there to change the name of the server in the script. So, what should I do ?? Maybe you could use errorlevel to try your preferred server first? net

[Samba] passwd, smbpasswd, pam, etc.

2005-02-24 Thread Mi
Hello, I'm aware of the password sync options in smb.conf, which synchronize the Unix password when users change their password from Windows. But is there a PAM module or something that would sync. the Samba password when the Unix password is changed? I'm not using LDAP. This is a simple Linux/

[Samba] Samaba 3.0.4 on solaris 8 with winbind

2004-09-29 Thread Savage, Andrea Ms 902d MI
I have worked on getting the winbind portion of samba 3.0.4 to work for weeks now. I have had little success and need to seek help to resolve my issue. I am running samba on Solaris 8 box. My PDC/BDC is Window NT 4.0 and I'm running win2k pro on the pc(s). /'^'\ ( o o ) -

Re: [Samba] Excluded profile folders sync'd on logout

2004-06-07 Thread Mi
I'm trying to get folder redirection working with roaming profiles and Samba 3.0.2a and Windows XP clients. I've followed the Samba 3 by Example document and have change the User Shell Folders registry key and created a Default User profile in the netlogon share and set the machnes group poli

[Samba] Suggestion for pdbedit man page

2004-06-02 Thread Mi
May I suggest this little change in pdbedit's man page NAME section: Replace pdbedit - manage the SAM database with pdbedit - manage the SAM database of Samba users This would make it appear with "apropos samba" or "apropos users" (please let me know if such suggestions should be sent

Re: [Samba] compiling editreg (was: read (and edit?) registry files on Linux)

2004-05-22 Thread Mi
heir registry (and keep copying their Internet Explorer cache and other crap to the server). It looks like the "-c command-file" switch would do that but isn't implemented yet. Well... I'm glad I can already list the values. Thank you very much, Mi -- To unsubscribe from this

Re: [Samba] compiling editreg (was: read (and edit?) registry files on Linux)

2004-05-22 Thread Mi
> On the Samba site, I found a man page about editreg, but it's not very > clear, and I don't have it on my system. editreg is probably not build and installed by default on debian, so you'll need the source distribution. OK, I got the source (samba-3.0.2a.tar.gz, so it would be the same version

Re: [Samba] read (and edit?) registry files on Linux

2004-05-21 Thread Mi
s a utility that can visualize windows registry files (currently only NT4) and apply so-called commandfiles to them." Thanks for your help. Mi -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

[Samba] read (and edit?) registry files on Linux

2004-05-21 Thread Mi
do is scp the files to a Windows machine, and manually load the hives in regedt32. Very cumbersome. I'm looking for a more Linux-like solution: command-line, scriptable, etc. BTW, I have Samba 3.0.2a. Thanks, Mi -- To unsubscribe from this list go to the following URL and read the instruc

[Samba] Renaming user in Samba 3

2004-05-21 Thread Mi
pdbedit that would do that. Before, I could have edited smbpasswd by hand, but now it seems everything is in /var/lib/samba/passdb.tdb. I am using "smbd version 3.0.2a-Debian", and my smb.conf has passdb backend = tdbsam Thanks for any help, Mi -- To unsubscribe from this list go to the