hi,,
am having my samba server in RHEL 5.0. And all my clients are using Fedora 9,nearly 100 clients are there now, For roaming profile of my samba share for my samba server to these fedora clients. I have to mount their profile path /sambaserver/share to the client (fedora) machine through cifs are smbfs file system.
So from my fedora machine when i try to mount cifs filesystem in my fedora machine like,
*mount.cifs //SAMBA_SERVER/share /mount_point/ -o username=user,password=abcdef*
am getting
*mount error 20 = Not a directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)* ** so i searched in forums and google for the above error, and i get to execute,
*echo 0 > /proc/fs/cifs/LinuxExtenxsionsEnabled* ** after executing this i can able to mount through cifs filesystems.No problem in that and i can able to access my datas in the share from folder. But when i try make an entry in */etc/fstab* for making mounting all the time whenever the machine reboots like
*//192.168.1.101/centos /home/centos cifs username=user,password=abcdef 0 0* ** And i saved it and rebooted my machine. When my fedora machine boots up at the booting time itself it is prompting for password where i cant able to give my password and when i press enter it is getting failed.
I had tried through automount also throu autofs. But it not works. Help me with this issue. Thanks in advance
Aravind Arjunan wrote:
hi,,
am having my samba server in RHEL 5.0. And all my clients are using Fedora 9,nearly 100 clients are there now, For roaming profile of my samba share for my samba server to these fedora clients. I have to mount their profile path /sambaserver/share to the client (fedora) machine through cifs are smbfs file system.
So from my fedora machine when i try to mount cifs filesystem in my fedora machine like,
*mount.cifs //SAMBA_SERVER/share /mount_point/ -o username=user,password=abcdef*
am getting
*mount error 20 = Not a directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)* ** so i searched in forums and google for the above error, and i get to execute,
*echo 0 > /proc/fs/cifs/LinuxExtenxsionsEnabled* ** after executing this i can able to mount through cifs filesystems.No problem in that and i can able to access my datas in the share from folder. But when i try make an entry in */etc/fstab* for making mounting all the time whenever the machine reboots like
*//192.168.1.101/centos http://192.168.1.101/centos /home/centos cifs username=user,password=abcdef 0 0* ** And i saved it and rebooted my machine. When my fedora machine boots up at the booting time itself it is prompting for password where i cant able to give my password and when i press enter it is getting failed.
I had tried through automount also throu autofs. But it not works. Help me with this issue. Thanks in advance
Don't know if this will make any difference....
I've never been a fan of putting the username and passwords in the fstab. I use credentials= instead.
Ed
2009/1/11 Ed Greshko Ed.Greshko@greshko.com
Aravind Arjunan wrote:
hi,,
am having my samba server in RHEL 5.0. And all my clients are using Fedora 9,nearly 100 clients are there now, For roaming profile of my samba share for my samba server to these fedora clients. I have to mount their profile path /sambaserver/share to the client (fedora) machine through cifs are smbfs file system.
So from my fedora machine when i try to mount cifs filesystem in my fedora machine like,
*mount.cifs //SAMBA_SERVER/share /mount_point/ -o username=user,password=abcdef*
am getting
*mount error 20 = Not a directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)* ** so i searched in forums and google for the above error, and i get to execute,
*echo 0 > /proc/fs/cifs/LinuxExtenxsionsEnabled* ** after executing this i can able to mount through cifs filesystems.No problem in that and i can able to access my datas in the share from folder. But when i try make an entry in */etc/fstab* for making mounting all the time whenever the machine reboots like
*//192.168.1.101/centos http://192.168.1.101/centos /home/centos cifs username=user,password=abcdef 0 0* ** And i saved it and rebooted my machine. When my fedora machine boots up at the booting time itself it is prompting for password where i cant able to give my password and when i press enter it is getting failed.
I had tried through automount also throu autofs. But it not works. Help me with this issue. Thanks in advance
Don't know if this will make any difference....
I've never been a fan of putting the username and passwords in the fstab. I use credentials= instead.
Ed
-- UNIX is many things to many people, but it's never been everything to anybody. Mei-Mei.Greshko@greshko.com http://tw.youtube.com/watch?v=cCSz_koUhSg
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
2009/1/11 Ed Greshko Ed.Greshko@greshko.com
Aravind Arjunan wrote:
hi,,
am having my samba server in RHEL 5.0. And all my clients are using Fedora 9,nearly 100 clients are there now, For roaming profile of my samba share for my samba server to these fedora clients. I have to mount their profile path /sambaserver/share to the client (fedora) machine through cifs are smbfs file system.
So from my fedora machine when i try to mount cifs filesystem in my fedora machine like,
*mount.cifs //SAMBA_SERVER/share /mount_point/ -o username=user,password=abcdef*
am getting
*mount error 20 = Not a directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)* ** so i searched in forums and google for the above error, and i get to execute,
*echo 0 > /proc/fs/cifs/LinuxExtenxsionsEnabled* ** after executing this i can able to mount through cifs filesystems.No problem in that and i can able to access my datas in the share from folder. But when i try make an entry in */etc/fstab* for making mounting all the time whenever the machine reboots like
*//192.168.1.101/centos http://192.168.1.101/centos /home/centos cifs username=user,password=abcdef 0 0* ** And i saved it and rebooted my machine. When my fedora machine boots up at the booting time itself it is prompting for password where i cant able to give my password and when i press enter it is getting failed.
I had tried through automount also throu autofs. But it not works. Help me with this issue. Thanks in advance
Don't know if this will make any difference....
I've never been a fan of putting the username and passwords in the fstab. I use credentials= instead.
Ed
-- UNIX is many things to many people, but it's never been everything to anybody. Mei-Mei.Greshko@greshko.com http://tw.youtube.com/watch?v=cCSz_koUhSg
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
hi ED,
I tried with credentials in fstab also but same result it is getting failed while mounting.
This is smb.conf do i need to change anything, plz let me know,
[global] workgroup = rgipt.in netbios name = rgiptintra enable privileges = Yes admin users = root @"Domain Admins" interfaces = eth0 hosts allow = 192.168.1. 127. username map = /etc/samba/smbusers server string = Samba Server security = user encrypt passwords = Yes ldap passwd sync = Yes log file = /var/log/samba/%m.log time server = Yes domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No cups options = raw load printers = Yes printcap name = cups printing = cups logon script = STARTUP.BAT
# SAMBA-LDAP passdb backend = ldapsam:ldap://127.0.0.1/ ldap admin dn = cn=admin,dc=rgipt,dc=in ldap suffix = dc=rgipt,dc=in ldap group suffix = ou=Group ldap user suffix = ou=People ldap machine suffix = ou=Computers ldap idmap suffix = ou=Idmap ;ldap ssl = start_tls add machine script = /usr/sbin/smbldap-useradd -w "%u" add user script = /usr/sbin/smbldap-useradd -m "%u" ldap delete dn = Yes add group script = /usr/sbin/smbldap-groupadd -p "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" [homes] comment = Home Directories read only = No create mask = 0644 directory mask = 0775 browseable = No [netlogon] path = /home/samba/netlogon browseable = No read only = Yes [profiles] path = /home/samba/profiles read only = No create mask = 0600 directory mask = 0700 browseable = No guest ok = Yes profile acls = Yes force user = %U valid users = %U @"Domain Admins" [printers] comment = All Printers path = /var/spool/samba printer = raw public = Yes printable = Yes browseable = Yes guest ok = Yes writeable = No printer admin = root
2009/1/11 Frank Murphy frankly3d@fedoraproject.org
Aravind Arjunan wrote:
hi ED,
I tried with credentials in fstab also but same result it is getting failed while mounting.
What does smb.conf look like? Are the permissions on the server and client match?
Frank
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines