search for: mksmbpasswd

Displaying 20 results from an estimated 82 matches for "mksmbpasswd".

2003 May 22
5
X flag in smbpasswd?
mksmbpasswd.sh does not create accounts with the X flag in the password flags field. Does this X matter, and if so, what does it mean? It's not in the man page. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | novosirj@...
1999 Jun 04
2
Does mksmbpasswd.sh have any real purpose?
I see that mksmbpasswd.sh (plus a little editing) would be a good way to set up users with "NO PASSWORD" in bulk. But suppose I don't want the risk of the "NO PASSWORD" approach. Now somebody with root access must run smbpasswd for each user they want to activate. But can't I just do this a...
1999 Mar 22
3
mksmbpasswd - permissions
Hallo, i installed samba V2.0.3 on a linux server in a company. for better security i will use encypted passwords. for synchronisation of the unix password file and the samba password file i tried out the script mksmbpasswd script. my security settings at the server are easy and i set the permissions of the unix passwd file at 774 and also my smbpasswd file at 744. starting the script with the command: cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private the only message i get is: "permission denied&quo...
1999 Aug 23
1
NT4SP5 Encryption and mksmbpasswd
Hi all, Reading through ENCRYPTION.txt it says to do the following: cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd However, on my Samba-2.05a install (onto RH 6.0), /usr/local/samba doesn't exist. Instead, all the files listed in ENCRYPTION.txt and WinNT.txt are in the /usr/bin directory. Amongst other things, this means I can't set the recommended security pe...
2001 Apr 12
0
FW: 'mksmbpasswd.sh' Usage
Never mind, I figured this one out (I think!). Here is what I ran [System: RedHat 7.0/Samba 2.0.7ssl on P-90] cat /etc/passwd | /usr/bin/mksmbpasswd.sh >> smbpasswd (After backing-up the current 'smbpasswd', of course) This seemed to do the trick, however, all of the accounts where disabled by default. I figured this to be the intended behavior (for security with system accounts and the such). If there is any major proble...
2004 Jan 22
1
Help need mksmbpasswd.sh
All I have my samba setup working with PDC roaming profiles etc, but so I dont have to manually type everyone's password into smbpasswd. Could someone please email me mksmbpasswd.sh, for the life of me I cant find it anywhere to download it. Im running Solaris 8, such a pain if I don't have it. Thanks nn advance Philip M Grisedale
2000 Feb 29
2
cat /etc/passwd > mksmbpasswd
Hi all, Quick question, is it possible to take an existing /etc/passwd file and run it through mksmbpasswd.sh (or some other script) to update a smbpasswd file? I am asking this because everytime we change a password or add or delete usernames on a machine, it would seem we have to do the same thing to change th samba password file, and I'm hopeing there is an easier way..... thanks, jeff pajor@...
2008 May 21
3
howto sync unix passwd & samba passwd?
...success. Now I'm having difficulty creating a script using the smbpasswd command because passwords must be entered in stdin. I also tried smbpasswd -s option but it asks passwd in stdin. Is there a way that I can use the command smbpasswd plus the user password in one line? Also, I read about mksmbpasswd.sh and test it but it did not work at all. My smb.conf contains: smb passwd file = /etc/samba/sambapassword and did: cat /etc/passwd | grep test | /usr/bin/mksmbpasswd.sh > /etc/samba/sambapassword Is there a way for me to sync the userpassword and smbpasswd? Help me please. -Iris Lames
1999 Jun 09
3
Win98 : passwd change fail / where is mksmbpasswd.sh ?
...ently running a SUN SparcStation with Solaris 2.7 and Samba 2.0.3 Samba runs as domain master and i got security=user and i enabled plain text password on PCs but those Win98 boxes are unable to change their password ( password fail) So i want to try with encrypted password but i can't find mksmbpasswd.sh. Can anyone tell me where to find it ( NOT in source please, i tried unsucessfuly), or send it to me ? Or does anyone know how to change Win98 non-encrypted password from client box ? Here is my smb.conf [global] hosts allow = 192.0.0. workgroup = WORKGROUP security = user domain master = ye...
2002 May 20
4
Samba encrypt passwd
...orks great if PlainTextPassword is enabled. However, if PlainTextPassword is disabled on Windows client, connection to the Samba shares no longer accepted. I believe I've done everything in order to make encrypt passwd working: * I converted /etc/passwd to /etc/samba/smbpasswd using mksmbpasswd.sh script. cat /etc/passwd | mksmbpasswd.sh > smbpasswd This resulted in a new smbpasswd file: -rw------- 1 root root 4202 May 21 12:06 smbpasswd I feel a little uncomfortable about the file permission, there I change the...
2003 Jan 05
2
mksmbpasswd.sh and passwd sync problems...
...e on this, that would be great. My first problem is that I'm trying to sync up my /etc/passwd with the /etc/samba/smbpasswd file. (I'm using Mandrake 9.0 and Samba 2.2.6-1.0.pre2.2.mdk. Mandrake puts the smbpasswd file in the /etc/samba directory. When I do this command cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd It does create a smbpasswd file. However, then None of the users can log in to the shares. I can log into the win98 client, and then see the user's home directory, the care directory, and the public directory but can't log in to them. I've also tried to c...
2003 Dec 01
0
No subject
...login and the password a couple of times. Then you will be able to mount a share). (more on this topic in /usr/doc/packages/samba/ ENCRYPTION.txt). Solution: Well, either you may convince NT via its Windows registry to use plaintext passwords There is a script in the samba source package called mksmbpasswd.sh. This is for creating a "special" password file out of the existing one. mksmbpasswd.sh: #!/bin/sh awk 'BEGIN {FS=":" printf("#\n# SMB password file.\n#\n") } { printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s: %s:%s\n&q...
2003 Dec 01
0
No subject
...login and the password a couple of times. Then you will be able to mount a share). (more on this topic in /usr/doc/packages/samba/ ENCRYPTION.txt). Solution: Well, either you may convince NT via its Windows registry to use plaintext passwords There is a script in the samba source package called mksmbpasswd.sh. This is for creating a "special" password file out of the existing one. mksmbpasswd.sh: #!/bin/sh awk 'BEGIN {FS=":" printf("#\n# SMB password file.\n#\n") } { printf( "%s:%s:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:%s: %s:%s\n&q...
2002 Sep 19
4
users/passwds
Could somebody please explain just how one is supposed to set up samba users, groups and passwords so connections can be established to Win2k clients to connect to FBSD samba server for file sharing and to use cups for printing. I am afraid that the manuals and config files and various examples I have found on the Internet are quite confusing. How is the Windows username/passord related to
1999 Jul 28
1
security level flags...
...table = no [tmp] is, of course, the public dir while [nvod] is the nvod's home dir for which I want to grant access to nvod only. My /usr/local/samba19/lib/users.map file says: nvod = Administrator admin and I've run the following command to generate the smbpasswd file: cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba19/private/smbpasswd as it is written in docs/ENCRYPTION.txt file. The result instead, after I start smbd & nmbd daemons is that I'm requested to provide login and password to access to the whole and not only to the user home dir; also, I cannot connect to nvod ne...
2002 Jun 18
1
Beginner problems
Hi I hope I've posted this to the correct place. I've installed Samba 2.2.4 on a Caldera Open Unix 8 server, and created a basic smbd.conf file. When I launch smbd as a daemon, I'm getting the following in the log file: passdb/secrets.c: (43) failed to open /usr/lib/samba/private/secrets.tdb passdb/machine_sid.c: (163) pdb_generate_sam_sid: Failed to store generated machine SID
1999 Nov 05
2
Authentication on Linux6.0 that running samba-2.0.3
...machine such as WinNT4.0. But when I have configured samba authenticate on itself (security = user) I received message error "smbd/password.c:pass_check_smb(506) Account for user 'david' was disabled". In this mode I created smbpassword by command line "cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd". This is a my smb.conf file. I don't know why don't it work? Although I modified registry on some machines Win95 and WinNT for issue encrypt password Thanks for your support Bye. Tung Tran. -------------- next part -------------- A non-text attachment w...
1999 Jan 27
0
Encrypted passwords really necessary for PDC ?
...rew Perrin - Demography wrote: > Date: Thu, 28 Jan 1999 03:31:32 +1100 > From: Andrew Perrin - Demography <aperrin@demog.Berkeley.EDU> > To: Multiple recipients of list <samba-ntdom@samba.org> > Subject: Re: Encrypted passwords really necessary for PDC ? > > WRONG -- mksmbpasswd only creates the file, but puts blank passwords in > it. As has been pointed out multiple times on this list and elsewhere, > there is no way to morph an /etc/passwd file into an smbpasswd file. You > have to set up one or another hack for keeping them in sync. > > -----------------...
1999 Oct 15
2
Samba-based password synchronization
.../etc/password file. I'm trying to authenticate winnt 4.0 and win95 clients to this server. I have added the following parameters to my smb.conf file: encrypt passwords = yes smb passwd file = /usr/local/samba/private/smbpasswd I have created the smbpasswd using the command cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd. >From what I understand once this smbpasswd file has been created and samba has been restarted (inetd -c for me) windows users can change their passwords and the smbpasswd file is updated. The question is HOW DO I GET PASSWORDS INTO THE SMBPASSWD FIL...
2000 Jan 31
1
Samba Help Please!!!
...ncryption password = yes" option so I WOULDN'T have to modify the registry in my windows environment to send plain text. I also followed the instructions to synchronize my Linux passwords with the samba passwords (or something to that effect) with the following command: cat /etc/passwd | mksmbpasswd >/usr/bin/smbpasswd That command seems to work correctly, because it just returns with a command prompt, no errors. I have created (for the sake of simplicity) a users called "Administrator" in linux to coincide with my Administrator in windows NT 4.0 WKS. Both are using the same pa...