01-04-2010
True, but in this setup I had to add a unix-user for every account, which is exactly what I do NOT want.
It should be as simple as "Lookup user/pass in LDAP => Authentication ok? => User in the right group to access the share => connect"
That way I can easily add a new server and just tell it, to do the same thing.
10 More Discussions You Might Find Interesting
1. Linux
I have a program which reads all the files in a path given as argument into a buffer (And does something with it). The program makes use of several file processing APIs such as: stat(), fopen(), read() etc..
Now, it is possible that the directory specified by the path is actually a volume which... (5 Replies)
Discussion started by: the_learner
5 Replies
2. AIX
Im trying to share a directory with cifs my aix box with a windows server.
but when I try to mount
mount -v cifs -n 172.19.90.240/suc_user/tommy /directory /directory1/directory1
I got this error
There was an error connecting the share or the server.
Make sure the lsdev command shows that... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
3. Shell Programming and Scripting
Hi all,
I am using script to take mysql database backup... its arrround 12 GB ...... I have used tar -a , cp -a and rsync -a to take backup on CIFS mounted drive but it fails to take backup more than 2 GB as well as not able to take backup with ownership,timestamps.
Conf files... (3 Replies)
Discussion started by: jagnikam
3 Replies
4. HP-UX
hi everyone
months ago i installed software on hp-ux box. So instead of going to the server room (which is far and cold :) ), I put the DVD in my windows xp box and mount it using CIFS, it was successful.
Now I want to install another software on the same hp-ux box using the same windows... (3 Replies)
Discussion started by: neemoze
3 Replies
5. OS X (Apple)
Can all you OS X xperts help me?
OS X Leopard 10.5.6:
mount -t cifs -o username=name,password=secret //server/share /mnt/dir
Works from every linux box I have ever used. This does not work from the OS X terminal. Why?
The gui/finder/go: cifs://server/share just works... command line... (2 Replies)
Discussion started by: cjohnsoia
2 Replies
6. AIX
Hi,
I want to access windows folder from aix and viceversa. Is it possible to do that? I came to know we can do that from cifs but when tried to install
cifs.base.cmd 3.2.1.0
cifs.base.lic 3.2.1.0
cifs.base.smit 3.2.1.0
cifs.basic.rte 3.2.1.0
cifs.client.rte 3.2.1.0
cifs.websm.apps 3.2.1.0... (4 Replies)
Discussion started by: vjm
4 Replies
7. AIX
Dear All,
I mounted a windows share on AIX 5.3. with cifs.
The write on it is much slower than from other windows clients.
Could you help me with any tricks to speed the writing process?
Thanks,
Zoltán Patalenszki (0 Replies)
Discussion started by: zoltanp
0 Replies
8. UNIX for Dummies Questions & Answers
hi guys
I have to umount a CIFS from a Windows machine...but it's been imposible
there is one special task
/sbin/umount.cifs /mondobackup
that task cannot be kill...so I cannot umount the unit
any idea how to kill this and umount this CIFS share?
by the way I've tried
umount... (5 Replies)
Discussion started by: kopper
5 Replies
9. Solaris
Hello guys,
as of recently I'm unable to connect to one of my CIFS shares and I've no clue why that may be. As you can see in the first attachment a connection attempt to tony prompts for user credentials but when I try to connect to Videos it claims not being able to find the resource which is... (1 Reply)
Discussion started by: Tony~
1 Replies
10. Red Hat
I donot know much about CIFS but i have been asked to look into an issue related to mounting CIFS filesystem
On my redhat 5.6 the /etc/fstab file has the following entry
//172.25.x.x/de0/ /dir1/de0 cifs username=bodsadm,password=12345,dir_mode=0777,file_mode=0777,uid=de0adm,gid=sapsys,rw 0 0... (2 Replies)
Discussion started by: Tirmazi
2 Replies
NEWGRP(1) User Commands NEWGRP(1)
NAME
newgrp - log in to a new group
SYNOPSIS
newgrp [-] [group]
DESCRIPTION
The newgrp command is used to change the current group ID during a login session. If the optional - flag is given, the user's environment
will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains
unchanged.
newgrp changes the current real group ID to the named group, or to the default group listed in /etc/passwd if no group name is given.
newgrp also tries to add the group to the user groupset. If not root, the user will be prompted for a password if she does not have a
password (in /etc/shadow if this user has an entry in the shadowed password file, or in /etc/passwd otherwise) and the group does, or if
the user is not listed as a member and the group has a password. The user will be denied access if the group password is empty and the user
is not listed as a member.
If there is an entry for this group in /etc/gshadow, then the list of members and the password of this group will be taken from this file,
otherwise, the entry in /etc/group is considered.
CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool:
SYSLOG_SG_ENAB (boolean)
Enable "syslog" logging of sg activity.
FILES
/etc/passwd
User account information.
/etc/shadow
Secure user account information.
/etc/group
Group account information.
/etc/gshadow
Secure group account information.
SEE ALSO
id(1), login(1), su(1), sg(1), gpasswd(1), group(5), gshadow(5).
shadow-utils 4.5 01/25/2018 NEWGRP(1)