• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to rejoin a linux server to a linux domain

Red Squirrel

No Lifer
I recently did an update to samba on my DC which resulted in me having to rejoin all PCs to the domain. I noticed since then all my backups are failing on my linux servers. Mount.cifs wont work at all, just fails.

Code:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

I'm guessing this has to do with the domain not properly authenticating. The password IS valid, and this worked before the domain incident.
 
Weird I could have sweared I posted but my post is not showing up.

This is what I get:

Code:
[root@borg ~]# /data/scripts/cron/cpdev_backup 
parsing options: user=root,pass=q1w2e3r4

mount.cifs kernel mount options unc=//cpdev\data,ver=1,user=root,pass=q1w2e3r4 
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
premature script termination due to mount failure

This is my code:

Code:
if ! mount.cifs //cpdev/data /mnt/cpdev/ --verbose -o user=root,pass="q1w2e3r4" ro
then
echo "premature script termination due to mount failure"
exit
fi
 
Back
Top